package com.vca.common.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author Li
 * @program VCA_Mini_Program
 * @description 银联退款vo类
 * @classname UmsPayRefundVo
 * @since 2022/12/19 17:58:09
 **/

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Serializable", description="银联退款vo类")
public class UmsPayRefundVo implements Serializable {

    private static final long serialVersionUID = 5217426453386139934L;

    @ApiModelProperty(value = "子订单号")
    @NotBlank(message = "子订单号不能为空")
    private String merOrderNo;

    @ApiModelProperty(value = "退款金额")
    @DecimalMin(value = "0.00", message = "退款金额不能少于0.00")
    private BigDecimal amount;
}
